﻿namespace NewRetail.Application.Components.WeChat.Model
{
    public class WeChatOAuth2UserInfoDto
    {
        /// <summary>
        /// 获取或设置用户唯一标识
        /// </summary>
        public string OpenId { get; set; } = null!;
    }
    /// <summary>
    /// 返回给前端的微信配置，JS-SDK使用
    /// </summary>
    public class WeChatConfigJsSdkInfoDto
    {
        /// <summary>
        /// appId
        /// </summary>
        public string appId { get; set; }
        /// <summary>
        /// timestamp
        /// </summary>
        public string timestamp { get; set; }
        /// <summary>
        /// nonceStr
        /// </summary>
        public string nonceStr { get; set; }
        /// <summary>
        /// signature
        /// </summary>
        public string signature { get; set; }
        /// <summary>
        /// url
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// ticket
        /// </summary>
        public string jsapiTicket { get; set; }
    }
}
